from datetime import datetime


#  奖字符串 格式为 "2024-03-01 00:08:27" 转换为 datetime 类型
def str_to_datetime(value: str) -> datetime:
    return datetime.strptime(value, "%Y-%m-%d %H:%M:%S")